package com.beiye.drivertransport.bean;

import java.util.List;

/**
 * Created by ky on 2019/12/30.
 */

public class LogBookRecordListBean {

    /**
     * result : true
     * data : null
     * msg : 操作成功
     * rows : [{"sn":1,"uleSn":null,"startDate":1577670300000,"dutyDrvier":null,"passenger":1,"fromAddr":"重庆市九龙坡区奥体东路138号靠近华宇五环大厦","stopDate":1577670360000,"toAddr":"重庆市九龙坡区奥体东路138号靠近华宇五环大厦","driveLength":7,"resultCode":null},{"sn":2,"uleSn":null,"startDate":1577670300000,"dutyDrvier":null,"passenger":1,"fromAddr":"扣扣","stopDate":1577670360000,"toAddr":"啦啦啦","driveLength":1,"resultCode":null},{"sn":3,"uleSn":null,"startDate":1577670300000,"dutyDrvier":null,"passenger":1,"fromAddr":"重庆市九龙坡区奥体东路138号靠近华宇五环大厦","stopDate":1577670360000,"toAddr":"重庆市九龙坡区奥体东路138号靠近华宇五环大厦","driveLength":7,"resultCode":null}]
     * total : null
     * code : 0
     */

    private boolean result;
    private Object data;
    private String msg;
    private Object total;
    private int code;
    private List<RowsBean> rows;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * sn : 1
         * uleSn : null
         * startDate : 1577670300000
         * dutyDrvier : null
         * passenger : 1
         * fromAddr : 重庆市九龙坡区奥体东路138号靠近华宇五环大厦
         * stopDate : 1577670360000
         * toAddr : 重庆市九龙坡区奥体东路138号靠近华宇五环大厦
         * driveLength : 7
         * resultCode : null
         */

        private int sn;
        private Object uleSn;
        private long startDate;
        private String dutyDrvier;
        private int passenger;
        private String fromAddr;
        private long stopDate;
        private String toAddr;
        private int driveLength;
        private Object resultCode;

        public int getSn() {
            return sn;
        }

        public void setSn(int sn) {
            this.sn = sn;
        }

        public Object getUleSn() {
            return uleSn;
        }

        public void setUleSn(Object uleSn) {
            this.uleSn = uleSn;
        }

        public long getStartDate() {
            return startDate;
        }

        public void setStartDate(long startDate) {
            this.startDate = startDate;
        }

        public String getDutyDrvier() {
            return dutyDrvier;
        }

        public void setDutyDrvier(String dutyDrvier) {
            this.dutyDrvier = dutyDrvier;
        }

        public int getPassenger() {
            return passenger;
        }

        public void setPassenger(int passenger) {
            this.passenger = passenger;
        }

        public String getFromAddr() {
            return fromAddr;
        }

        public void setFromAddr(String fromAddr) {
            this.fromAddr = fromAddr;
        }

        public long getStopDate() {
            return stopDate;
        }

        public void setStopDate(long stopDate) {
            this.stopDate = stopDate;
        }

        public String getToAddr() {
            return toAddr;
        }

        public void setToAddr(String toAddr) {
            this.toAddr = toAddr;
        }

        public int getDriveLength() {
            return driveLength;
        }

        public void setDriveLength(int driveLength) {
            this.driveLength = driveLength;
        }

        public Object getResultCode() {
            return resultCode;
        }

        public void setResultCode(Object resultCode) {
            this.resultCode = resultCode;
        }
    }
}
